<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%@ include file="jsp_header.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>등록 화면</title>
</head>
<body>
<form:form modelAttribute="Board" action="insert" enctype="multipart/form-data">
		<div align="center" class="body">

			<table>
				<input type="hidden" id="user_seq" name="user_seq" value="${Board.user_seq }">
				<tr height="40px">
					<td>제목</td>
					<td><input type="text" name="baord_title" id="baord_title" maxLength="20" value="${Board.baord_title}" /></td>
					<td><font color="red"><form:errors path="baord_title" /></font>
					</td>
				</tr>
				<tr height="40px">
					<td>글쓴이</td>
					<td><input type="text" id="baord_writer" name="baord_writer"
						value="${Item.price}">원</td>
					<td><font color="red"><form:errors path="baord_writer" /></font></td>
				</tr>
				</tr>
				<tr height="40px">
					<td>파일</td>
					<td><input type="file" id="upload_name" name="upload_name" /><img
						src="resources/img/${Upload.upload_name }"></td>
					<td></td>
				</tr>
				<tr height="40px">
					<td>내용</td>
					<td><textarea id="baord_content" name="baord_content" rows="4" cols="30">${Board.baord_content}</textarea></td>
					<td><font color="red"><form:errors path="baord_content" /></font>
					</td>
			</table>
			<br><input type="submit" value="등록">
			<input type="reset" value="리셋">
		</div>
	</form:form>
</body>
</html>